package com.gycode.vpush.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gycode.vpush.dto.request.WebSocketSendUserDTO;
import com.gycode.vpush.vo.UnReadMessageVO;
import com.gycode.vpush.entity.SendMessageUser;

import java.util.List;

/**
 * <p>
 * 发送消息跟用户关系表 Mapper 接口
 * </p>
 *
 * @author lgy
 * @since 2021-11-01
 */
public interface SendMessageUserMapper extends BaseMapper<SendMessageUser> {
    /**
     * 获取未读消息
     * @param unReadMessageVO
     * @return
     */
    List<WebSocketSendUserDTO> getUnReadMessageUserList(UnReadMessageVO unReadMessageVO);
}
